from rest_framework import serializers
from . import models

class CateSerializer(serializers.ModelSerializer):

    class Meta:
        model=models.Cate
        fields='__all__'


class GoodsSerializer(serializers.ModelSerializer):

    class Meta:
        model=models.Goods
        fields='__all__'


class ReserveSerializer(serializers.ModelSerializer):

    class Meta:
        model=models.Reserve
        fields='__all__'